import os
from ddt.excel_ddt import conf

if __name__ == '__main__':
    os.system('rd /s/q result')
    os.system('rd /s/q reports')
    # path = "E:\YSproject\ErrorImg"
    os.system('rd /s/q ErrorImg')
    os.mkdir("ErrorImg")
    #conf.runAppCase(casefile='./lib/一手app.xlsx')
    conf.runAppCase(casefile='./lib/一手app-test.xlsx')
    os.system('allure generate result -o reports --clean')